def describe_pet (animal_type, pet_name):
    """ show pet information """
    print("\nI have a " + animal_type + '.')
    print("My " + animal_type + "'s name is " + pet_name.title() + '.')

# describe_pet()

names = 'zhang ''san'
print(names)

def get_formatted_name (first_name, last_name):
    '''return formatted name'''
    full_name = first_name + ' ' + last_name
    return full_name.title()

musician = get_formatted_name('jimi', 'hendrix')
print(musician)

def solve (arr):
    tempArr = []
    arr = arr
    for item in arr:
        tempArr.append(item)
        for ite in tempArr:
            if ite in arr:
                arr.remove(ite)

    print(tempArr)

solve([1,1,4,5,1,2,1])